import request from '@/utils/request'

export const onLogin = data => request({
  url: 'login',
  method: 'POST',
  data
})
export const menus = () => request({
  url: 'menus',
  method: 'GET'
})
